|
![](/i/fill.gif) |
On Fri, 08 Feb 2002 20:38:22 -0500, Christopher James Huff <chr### [at] mac com>
wrote:
> > That's exactly what my macro does.
>
> No, your macro returns the percentage of the surrounding space occupied
> by the object, which is quite different though it gives a similar
> effect. It is just a blurred object pattern...hmm. Your macro could be
> modified to blur almost any pattern or function...just remove the
> definition of P and pass it in as a parameter, replacing "Object".
Yes, I know, but then speed optimization with boundary will not work.
> BTW, why use "(1/C)*(...)" instead of just "(...)/C"?
Becouse C is index for loop and after loop it has value 0.
Afaik 1/C is optimized to one float at parse time so it not the problem for
parser.
> "max(int(Count)1)" should be "max(int(Count), 1)".
It's result of shortest code contest :-)
ABX
Post a reply to this message
|
![](/i/fill.gif) |